package com.cloud.servicehi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * lcc服务
 */
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient
public class ServiceLccApplication {

    public static void main(String[] args) {
        SpringApplication.run( ServiceLccApplication.class, args );
    }

//    @Value("${server.port}")
//    String port;
//
//    @RequestMapping("/hi")
//    public String home(@RequestParam(value = "name", defaultValue = "cloud") String name) {
//        return "hi lcc " + name + " ,i am from port:" + port;
//    }
    
}



